//
//  ERanking.h
//  AppRanking
//
//  Created by Gang.Wang on 12-11-8.
//  Copyright (c) 2012年 Gang.Wang. All rights reserved.
//

#import <Foundation/Foundation.h>


@class ERankingPoint;

@interface ERanking : NSObject
{
    NSString * appName_;
    NSMutableArray * rankingValues_; // ERankingPoint
    
    NSString * title_;
    NSString * subTitle_;
    
    NSString * yAxisTitle_;
}

@property (nonatomic, strong) NSString * appName;
@property (nonatomic, strong) NSMutableArray * rankingValues;

@property (nonatomic, strong) NSString * title;
@property (nonatomic, strong) NSString * subTitle;

@property (nonatomic, strong) NSString * yAxisTitle;


- (id) initWithData:(NSData *) theData;
@end




@interface ERankingPoint : NSObject
{
    NSString * name_;
    NSInteger heightestRanking_;
    NSInteger lowestRanking_;
    NSInteger finalRanking_;
    NSInteger yValue_;
}

@property (nonatomic, assign) NSString * name;
@property (nonatomic, assign) NSInteger heightestRanking;

@property (nonatomic, assign) NSInteger lowestRanking;
@property (nonatomic, assign) NSInteger finalRanking;

@property (nonatomic, assign) NSInteger yValue;
@property (nonatomic, assign) NSString * xValue;


@end